import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';

import 'load_image.dart';

class RefreshHeader extends StatelessWidget {
  const RefreshHeader({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ClassicHeader(
      idleText: '下拉刷新',
      releaseText: '松开刷新',
      refreshingText: '正在刷新',
      completeText: '刷新完成',
      failedText: '刷新失败',
    );
  }
}
